<template>
  <div class="box">
    <div class="imgs">
      <img :src="url" alt="">
      <span>{{ text }}</span>
    </div>
  </div>
</template>

<script>
export default {
  name: 'GetImgs',
  props: {
    text: {
      type: String,
      default: {},
    },
    url: {
      type: String,
      default: {}
    },
  }
}
</script>

<style scoped>
  .imgs {
    display: inline;
  }
  .imgs > img {
    width: 100%;
    height: 100%;
  }
</style>